package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 饲料管理对象 feed_manage
 * 
 * @author fxk
 * @date 2023-06-20
 */
public class FeedManage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 饲料编号 */
    @Excel(name = "饲料编号")
    private Integer feedId;

    /** 饲料名称 */
    @Excel(name = "饲料名称")
    private String feedName;

    /** 主要成分 */
    @Excel(name = "主要成分")
    private String bases;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal price;

    /** 库存 */
    @Excel(name = "库存")
    private Long stock;

    public void setFeedId(Integer feedId) 
    {
        this.feedId = feedId;
    }

    public Integer getFeedId() 
    {
        return feedId;
    }
    public void setFeedName(String feedName) 
    {
        this.feedName = feedName;
    }

    public String getFeedName() 
    {
        return feedName;
    }
    public void setBases(String bases) 
    {
        this.bases = bases;
    }

    public String getBases() 
    {
        return bases;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setStock(Long stock) 
    {
        this.stock = stock;
    }

    public Long getStock() 
    {
        return stock;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("feedId", getFeedId())
            .append("feedName", getFeedName())
            .append("bases", getBases())
            .append("price", getPrice())
            .append("stock", getStock())
            .toString();
    }
}
